import layout from '@/layout'

export default {
  path: '/member',
  component: layout,
  redirect: '/member/list',
  name: 'memberList',
  meta: {
    title: 'memberManage',
    icon: 'article'
    // 需要更改图片
  },
  children: [
    {
      path: '/member/list',
      component: () => import('@/views/member-list/index'),
      meta: {
        title: 'memberList',
        icon: 'article-ranking'
        // 需要更改图片
      }
    },
    {
      path: '/member/add',
      component: () => import('@/views/member-add/index'),
      props: true,
      meta: {
        title: 'memberAdd'
      }
    },
    {
      path: '/member/detail/:id',
      component: () => import('@/views/member-detail/index'),
      props: true,
      meta: {
        title: 'memberDetail'
      }
    }
  ]
}
